<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>输出100以内的所有质数</title>
		<script type="text/javascript">
			for(var i=2;i<=100;i++){
				for(var j=2;j<=i;j++){
					if(i%j==0){
						break;
					}				
				}
				if(j>=i){
					document.write(i+'、');
				}								
			}			
		</script>
	</head>
	<body>
	</body>
</html>
